<%@ page import="java.util.Map" %>
<%@ page import="com.infitecs.eyas.util.NumberUtil" %>
<%--
  Created by IntelliJ IDEA.
  User: Demon
  Date: 2015/6/15
  Time: 16:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <%@include file="../includes/head.jsp" %>
    <title>${menu.menuName}</title>
    <%
        Map<String, Double> dataMap = request.getAttribute("dataMap")==null?null:(Map<String, Double>)request.getAttribute("dataMap");
    %>
</head>
<body class="page-header-fixed page-quick-sidebar-over-content">
<%@include file="../includes/top.jsp" %>
<div class="page-container">
    <%@include file="../includes/sidebar.jsp" %>
    <div class="page-content-wrapper">
        <div class="page-content">
            <%@include file="../includes/current.jsp" %>
            <div class="row">
                <div class="col-md-12">
                    <div class="portlet box">
                        <div class="portlet-body form">
                            <div class="form-body">
                                <!--内容开始-->
                                <div class="row">
                                    <!--左侧开始-->
                                    <div class="col-md-6">
                                        <!--灰渣计算开始-->
                                        <div class="col-md-12 margin-bottom-10">
                                            <!--标题开始-->
                                            <div class="col-md-12 margin-bottom-10">
                                                <h2>灰渣计算</h2>
                                            </div>
                                            <!--标题结束-->
                                            <!--内容开始-->
                                            <div class="col-md-12 margin-bottom-10">
                                                <div class="col-md-12 margin-bottom-10" style="padding-left: 0">
                                                    <div class="form-group">
                                                        <label class="control-label col-md-4" style="padding-left: 0"
                                                               for="E184">煤的折算含灰量</label>

                                                        <div class="col-md-8">
                                                            <input type="text" class="form-control input-inline"
                                                                   value="<%=dataMap==null?"":NumberUtil.trimZero(dataMap.get("E184") + "")%>"
                                                                   id="E184"/>
                                                            <span class="help-inline">
                                                                %
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-12 margin-bottom-10" style="padding-left: 0">
                                                    <div class="form-group">
                                                        <label class="control-label col-md-4" style="padding-left: 0"
                                                               for="E185">煤灰的碱度</label>

                                                        <div class="col-md-8">
                                                            <input type="text" class="form-control input-inline"
                                                                   value="<%=dataMap==null?"":NumberUtil.trimZero(dataMap.get("E185") + "")%>"
                                                                   id="E185"/>
                                                            <span class="help-inline">
                                                                /
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-12 margin-bottom-10" style="padding-left: 0">
                                                    <div class="form-group">
                                                        <label class="control-label col-md-4" style="padding-left: 0"
                                                               for="E187">锅炉燃烧产生渣量</label>

                                                        <div class="col-md-8">
                                                            <input type="text" class="form-control input-inline"
                                                                   value="<%=dataMap==null?"":NumberUtil.trimZero(dataMap.get("E187") + "")%>"
                                                                   id="E187"/>
                                                            <span class="help-inline">
                                                                t/h
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-12 margin-bottom-10" style="padding-left: 0">
                                                    <div class="form-group">
                                                        <label class="control-label col-md-4" style="padding-left: 0"
                                                               for="E188">锅炉燃烧产生灰量</label>

                                                        <div class="col-md-8">
                                                            <input type="text" class="form-control input-inline"
                                                                   value="<%=dataMap==null?"":NumberUtil.trimZero(dataMap.get("E188") + "")%>"
                                                                   id="E188"/>
                                                            <span class="help-inline">
                                                                t/h
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-12 margin-bottom-10" style="padding-left: 0">
                                                    <div class="form-group">
                                                        <label class="control-label col-md-4" style="padding-left: 0"
                                                               for="E189">产生石子煤量</label>

                                                        <div class="col-md-8">
                                                            <input type="text" class="form-control input-inline"
                                                                   value="<%=dataMap==null?"":NumberUtil.trimZero(dataMap.get("E189") + "")%>"
                                                                   id="E189"/>
                                                            <span class="help-inline">
                                                                t/h
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <!--内容结束-->
                                        </div>
                                        <!--灰渣计算结束-->
                                        <!--飞灰浓度开始-->
                                        <div class="col-md-12 margin-bottom-10">
                                            <!--标题开始-->
                                            <div class="col-md-12 margin-bottom-10">
                                                <h2>飞灰浓度</h2>
                                            </div>
                                            <!--标题结束-->
                                            <!--内容开始-->
                                            <div class="col-md-12 margin-bottom-10">
                                                <div class="col-md-12 margin-bottom-10" style="padding-left: 0">
                                                    <div class="form-group">
                                                        <label class="control-label col-md-4" style="padding-left: 0"
                                                               for="E210">飞灰质量</label>

                                                        <div class="col-md-8">
                                                            <input type="text" class="form-control input-inline"
                                                                   value="<%=dataMap==null?"":NumberUtil.trimZero(dataMap.get("E210") + "")%>"
                                                                   id="E210"/>
                                                            <span class="help-inline">
                                                                g/Kg
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-12 margin-bottom-10" style="padding-left: 0">
                                                    <div class="form-group">
                                                        <label class="control-label col-md-4" style="padding-left: 0"
                                                               for="E211">除尘器进口飞灰质量浓度</label>

                                                        <div class="col-md-8">
                                                            <input type="text" class="form-control input-inline"
                                                                   value="<%=dataMap==null?"":NumberUtil.trimZero(dataMap.get("E211") + "")%>"                                                                   id="E211"/>
                                                            <span class="help-inline">
                                                                g/Kg&nbsp;(湿基)
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-12 margin-bottom-10" style="padding-left: 0">
                                                    <div class="form-group">
                                                        <label class="control-label col-md-4" style="padding-left: 0"
                                                               for="E212">除尘器进口飞灰容积浓度</label>

                                                        <div class="col-md-8">
                                                            <input type="text" class="form-control input-inline"
                                                                   value="<%=dataMap==null?"":NumberUtil.trimZero(dataMap.get("E212") + "")%>"
                                                                   id="E212"/>
                                                            <span class="help-inline">
                                                                g/Nm<sup>3</sup>&nbsp;(湿基)
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-12 margin-bottom-10" style="padding-left: 0">
                                                    <div class="form-group">
                                                        <label class="control-label col-md-4" style="padding-left: 0"
                                                               for="E216">除尘器进口飞灰容积浓度</label>

                                                        <div class="col-md-8">
                                                            <input type="text" class="form-control input-inline"
                                                                   value="<%=dataMap==null?"":NumberUtil.trimZero(dataMap.get("E216") + "")%>"                                                                   value="${calculatePollution.e216}"
                                                                   id="E216"/>
                                                            <span class="help-inline">
                                                                g/Nm<sup>3</sup>&nbsp;(干基6%含氧)
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <!--内容结束-->
                                        </div>
                                        <!--飞灰浓度结束-->

                                    </div>
                                    <!--左侧结束-->
                                    <!--右侧开始-->
                                    <div class="col-md-6">
                                        <!--硫化物开始-->
                                        <div class="col-md-12 margin-bottom-10">
                                            <!--标题开始-->
                                            <div class="col-md-12 margin-bottom-10">
                                                <h2>硫化物</h2>
                                            </div>
                                            <!--标题结束-->
                                            <!--内容开始-->
                                            <div class="col-md-12 margin-bottom-10">
                                                <div class="col-md-12 margin-bottom-10" style="padding-left: 0">
                                                    <div class="form-group">
                                                        <label class="control-label col-md-4" style="padding-left: 0"
                                                               for="E192">三氧化硫转化系数</label>

                                                        <div class="col-md-8">
                                                            <input type="text" class="form-control input-inline"
                                                                   value="<%=dataMap==null?"":NumberUtil.trimZero(dataMap.get("E192") + "")%>"
                                                                   id="E192"/>
                                                            <span class="help-inline">
                                                                %
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-12 margin-bottom-10" style="padding-left: 0">
                                                    <div class="form-group">
                                                        <label class="control-label col-md-4" style="padding-left: 0"
                                                               for="E193">二氧化硫排放系数</label>

                                                        <div class="col-md-8">
                                                            <input type="text" class="form-control input-inline"
                                                                   value="<%=dataMap==null?"":NumberUtil.trimZero(dataMap.get("E193") + "")%>"
                                                                   id="E193"/>
                                                            <span class="help-inline">
                                                                %
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-12 margin-bottom-10" style="padding-left: 0">
                                                    <div class="form-group">
                                                        <label class="control-label col-md-4" style="padding-left: 0"
                                                               for="E205">吸收塔入口二氧化硫成分</label>

                                                        <div class="col-md-8">
                                                            <input type="text" class="form-control input-inline"
                                                                   value="<%=dataMap==null?"":NumberUtil.trimZero(dataMap.get("E205") + "")%>"
                                                                   id="E205"/>
                                                            <span class="help-inline">
                                                               %&nbsp;(干基6%含氧)
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-12 margin-bottom-10" style="padding-left: 0">
                                                    <div class="form-group">
                                                        <label class="control-label col-md-4" style="padding-left: 0"
                                                               for="E206">吸收塔入口二氧化硫排放浓度</label>

                                                        <div class="col-md-8">
                                                            <input type="text" class="form-control input-inline"
                                                                   value="<%=dataMap==null?"":NumberUtil.trimZero(dataMap.get("E206") + "")%>"
                                                                   id="E206"/>
                                                            <span class="help-inline">
                                                                g/Nm<sup>3</sup>&nbsp;(干基6%含氧)
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-12 margin-bottom-10" style="padding-left: 0">
                                                    <div class="form-group">
                                                        <label class="control-label col-md-4" style="padding-left: 0"
                                                               for="E207">吸收塔入口三氧化硫成分</label>

                                                        <div class="col-md-8">
                                                            <input type="text" class="form-control input-inline"
                                                                   value="<%=dataMap==null?"":NumberUtil.trimZero(dataMap.get("E207") + "")%>"
                                                                   id="E207"/>
                                                            <span class="help-inline">
                                                                %&nbsp;(干基6%含氧)
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-12 margin-bottom-10" style="padding-left: 0">
                                                    <div class="form-group">
                                                        <label class="control-label col-md-4" style="padding-left: 0"
                                                               for="E208">吸收塔入口三氧化硫排放浓度</label>

                                                        <div class="col-md-8">
                                                            <input type="text" class="form-control input-inline"
                                                                   value="<%=dataMap==null?"":NumberUtil.trimZero(dataMap.get("E208") + "")%>"
                                                                   id="E208"/>
                                                            <span class="help-inline">
                                                                g/Nm<sup>3</sup>&nbsp;(干基6%含氧)
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <!--内容结束-->
                                        </div>
                                        <!--硫化物结束-->
                                        <!--氧化物排放开始-->
                                        <div class="col-md-12 margin-bottom-10">
                                            <!--标题开始-->
                                            <div class="col-md-12 margin-bottom-10">
                                                <h2>氧化物排放</h2>
                                            </div>
                                            <!--标题结束-->
                                            <!--内容开始-->
                                            <div class="col-md-12 margin-bottom-10">
                                                <div class="col-md-12 margin-bottom-10" style="padding-left: 0">
                                                    <div class="form-group">
                                                        <label class="control-label col-md-4" style="padding-left: 0"
                                                               for="E218">锅炉燃烧产生二氧化碳量</label>

                                                        <div class="col-md-8">
                                                            <input type="text" class="form-control input-inline"
                                                                   value="<%=dataMap==null?"":NumberUtil.trimZero(dataMap.get("E218") + "")%>"
                                                                   id="E218"/>
                                                            <span class="help-inline">
                                                                t/h
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-12 margin-bottom-10" style="padding-left: 0">
                                                    <div class="form-group">
                                                        <label class="control-label col-md-4" style="padding-left: 0"
                                                               for="E330">锅炉燃烧产生二氧化硫量</label>

                                                        <div class="col-md-8">
                                                            <input type="text" class="form-control input-inline"
                                                                   value="<%=dataMap==null?"":NumberUtil.trimZero(dataMap.get("E330") + "")%>"
                                                                   id="E330"/>
                                                            <span class="help-inline">
                                                                t/h
                                                            </span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <!--内容结束-->
                                        </div>
                                        <!--氧化物排放结束-->
                                    </div>
                                    <!--右侧结束-->
                                </div>
                                <!--内容结束-->
                                <div class="col-md-12 margin-bottom-10 ">
                                    <a class="btn green pull-right"
                                       href="javascript:;" onclick="nextPage('combustion/clean?menuId=32',7)">下一页</a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<input type="hidden" id="caseId" value="${caseId}" name="caseId">
<%@include file="../includes/footer.jsp" %>
<%@include file="../includes/bottomscript.jsp" %>
<script>
    $(document).ready(function () {
        var caseId = $("#caseId").val();
        var step = '<%=request.getAttribute("step")==null?"":request.getAttribute("step")%>'
        if (caseId == "" || step != "") {
            var obj = getUrlByStep(step)
            toast.error(obj.message);
            setTimeout(function () {
                window.location.href = obj.url;
            }, 1200);
        }
    })
</script>
</body>
</html>
